package com.project_doctor.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.project_doctor.pojo.Resident;
import com.baomidou.mybatisplus.extension.service.IService;
import com.project_doctor.pojo.Institution;
import com.project_doctor.pojo.Team;
import com.project_doctor.pojo.Package;
import com.project_doctor.pojo.dto.DetailsDTO;
import com.project_doctor.pojo.dto.ResidentSearchDTO;
import com.project_doctor.pojo.dto.ResidentTagDTO;
import com.project_doctor.pojo.vo.ResidentVO;

import java.util.List;
/**
* @author xixif
* @description 针对表【t_resident(居民基本信息表)】的数据库操作Service
* @createDate 2025-06-03 16:14:08
*/
public interface ResidentService extends IService<Resident> {

    Page<ResidentTagDTO> getResident(Integer pageNum, Integer pageSize, ResidentSearchDTO searchDTO);

    void addResident(ResidentTagDTO residentTagDTO);

    Long getResidentId();

    ResidentTagDTO getResidentById(Long id);

    void updateResident(ResidentTagDTO residentTagDTO);

    void deleteResident(Long id);

    List<Institution> getAllInstitutions();

    List<Team> getAllTeams();

    List<Package> getAllPackages();

    String generateResidentInfoImage(Long id);

    void updateService(DetailsDTO dto);

    List<Resident> getResident();

    ResidentVO selectResident(Integer residentId);
}
